<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>成绩查看</title>
    <link rel="stylesheet" href="../../static/lib/bootstrap-3.3.5-dist/css/bootstrap.css">
    <link rel="stylesheet" href="../../static/css/stuInfor.css">
    <link rel="stylesheet" href="../../static/font/iconfont.css">
    <link rel="stylesheet" href="../../static/css/authorityManage.css">
</head>
<body>
<!-- 内容区域 -->
<div class="stuInfor_content container-fluid">
    <div class="row">
        <!-- 搜索管理员栏 -->
        <div class="row">
            <form action="/excelPage?downPath=${downPath}" method="post">
                <div class="col-md-12 col-lg-12">
                    <span>个人成绩查询：</span>
                    <input type="text" class="stuInfor_inputText" placeholder="输入名称进行查询" name="likename" value="${likename}" id="likename"><span class="searchStu"><i class="iconfont icon-icon09"></i> <input type="submit" value="搜索"></span>
                </div>
            </form>
        </div>
        <!-- 修改成绩 -->
        <div class="row">
            <!-- 修改按钮 -->
            <c:if test="${tm}">
                <div class="stuInfor_delateAdd col-md-3 col-lg-3">
                    <a href="/zhongzhuan?downPath=${downPath}"><button type="button" class="stuInfo_addBtn btn btn-info" data-toggle="modal" >修改成绩</button></a>
                </div>
            </c:if>
            <div class="col-md-6 col-lg-6"></div>
            <%--            分页--%>
            <!-- 显示总数 -->
            <div class="stuInfor_stuNumber col-md-3 col-lg-3">
                <a href="/isTM?cId=${cId}" class="stuInfo_addBtn btn btn-info">返回</a>
                <form action="/selectOneReport?downPath=${downPath}" method="post">
                <select name="type">
                    <option value="0">--请选择--</option>
                    <option value="1">语文</option>
                    <option value="2">数学</option>
                    <option value="3">英语</option>
                </select>
                    <input type="submit" value="查询">
                </form>
            </div>
        </div>
        <!-- 显示成绩基本信息 -->
        <div class="row">
            <div class="stuInfor_table col-md-12 col-lg-12">
                <table  class="table table-hover table-bordered table-striped">
                    <tr>
                        <th style="text-align: center">学生姓名</th>
                        <th style="text-align: center">语文</th>
                        <th style="text-align: center">数学</th>
                        <th style="text-align: center">英语</th>
                        <th style="text-align: center">总分</th>
                        <th style="text-align: center">排名</th>
                        <th style="text-align: center">家长联系方式</th>
                    </tr>
                    <tbody>
                    <c:forEach items="${list}" var="s">
                        <tr>
                            <td>${s.uName}</td>
                            <td>${s.chinese}</td>
                            <td>${s.math}</td>
                            <td>${s.english}</td>
                            <td>${s.scoreAll}</td>
                            <td>${s.rank}</td>
                            <td>${s.uPhone}</td>
                        </tr>
                    </c:forEach>
                    </tbody>
                </table>
                <h3 align="center"><span>${msg}</span></h3>
            </div>
        </div>
        <!-- 显示页数 -->
        <%--        <div class="stuInfor_pages row">--%>
        <%--            <div class="stuInfor_pageNumCounts col-lg-12">--%>
        <%--                <button class="stuInfor_btnComm">上一页</button>--%>
        <%--                <div id="stuInfor_pageNum"></div>--%>
        <%--                <button class="stuInfor_btnComm">下一页</button>--%>
        <%--            </div>--%>
        <%--    <tfoot>--%>

        <%--    <a onclick="page(${pageInfo.firstPage})">首页</a>--%>
        <%--    <c:if test="${pageInfo.hasPreviousPage}">--%>
        <%--        <a onclick="page(${pageInfo.prePage})">上一页</a>--%>
        <%--    </c:if>--%>
        <%--    <c:forEach items="${pageInfo.navigatepageNums}" var="i">--%>
        <%--        <c:if test="${i==pageInfo.pageNum}">--%>
        <%--            <a onclick="page(${i})">【${i}】</a>--%>
        <%--        </c:if>--%>
        <%--        <c:if test="${i!=pageInfo.pageNum}">--%>
        <%--            <a onclick="page(${i})">${i}</a>--%>
        <%--        </c:if>--%>
        <%--    </c:forEach>--%>
        <%--    <c:if test="${pageInfo.hasNextPage}">--%>
        <%--        <a onclick="page(${pageInfo.nextPage})">下一页</a>--%>
        <%--    </c:if>--%>
        <%--    <a onclick="page(${pageInfo.lastPage})">尾页</a>--%>
        <%--    共${pageInfo.pages}页，${pageInfo.total}条记录 到第<input value="1" name="pn" id="pn_input">页--%>
        <%--    <input type="button" value="确定" onclick="one()">--%>
        <%--    </tfoot>--%>
    </div>

</div>
</div>
<script src="../../static/lib/bootstrap-3.3.5-dist/js/jquery-1.11.3.js"></script>
<script src="../../static/lib/bootstrap-3.3.5-dist/js/bootstrap.js"></script>
<script src="../../static/js/DATE_index.js"></script>
<script src="../../static/js/authorityManage.js"></script>
</body>
</html>
